PDF Catalogue Instruction

---
Warning: the products pictures format must be jpg or png otherwise the script would not work
---

PdfCatalogs generate PDF format catalogs of products for various Oscnuke languages.
This script is designed to display your products with pictures, their full descriptions
 and prices in a PDF format. Products are sorted by their categories. 


The generations of the catalogs are done in the administration module.
To start generation click on 'Generate catalog(s)' in 'Tools' directory

---


_________________
| Configuration |
|_______________|


To configure the script open pdf_config.php:

define('PDF_TITLE','OsCommerce'); //Same title for all pages

define('DIR_CATALOG','/catalog/') //Where is your Oscommerce index Ex: If your site is like http://youroscommerce/ then set define('DIR_CATALOG','/')
	
define('CURRENCY','');  //Base Currency
define('CURRENCY_RIGHT_OR_LEFT','R'); //Put the currency to the left or to the right of the price 'R' or 'L'
define('DIGITS_AFTER_DOT',2); //How many digits after dot for the price
	 
define('GENERATED','Catalog(s) generated');
	
define('DIRECTORIES_TREE_FONT_SIZE',10); //Size of the char for the directories tree
	
define('VAT',''); //Put the VAT if you want
	
define('HIGHT_TITLES_CELL_COLOR','192,192,192'); //Top page titles color
	
define('CENTER_TITLES_CELL_COLOR','192,192,192'); //Center page titles color
	
define('SHOW_NEW_PRODUCTS',1); //Show or not the new products
define('NEW_TITLE','NEW'); //New products title (same for all languages)
define('NEW_CELL_COLOR','248,98,98'); //New products color title 
	
	
define('MAX_IMAGE_WIDTH', 50);   //Width max in mm
define('MAX_IMAGE_HEIGHT',50);   //Height max in mm
define('PDF_TO_MM_FACTOR',0.3526); //pix to mm factor
	
define('SHOW_PRODUCTS_LINKS',1); //Show HTML links to your Oscommerce products
define('SHOW_IMAGES',1); //Show products image or not if not no links
define('RESIZE_IMAGES',0); /*Resize images, so the pdf is smaller but that take a lot of CPU time
			    (set max_execution_time in php.ini to your value)*/
	
define('SHOW_NAME',1);   //Show products name or not
define('SHOW_MODEL',1);  //Show products name or not
define('SHOW_DESCRIPTION',1); //Show products description or not
	define('SHOW_MANUFACTURER',1); //Show products manufacturer or not
	
define('SHOW_PRICES',1); //Show products prices or not
define('SPECIALS_PRICE_COLOR','248,98,98'); //Specials prices color

define('SHOW_DATE_ADDED',0);  //Show products date added or not
	
define('SHOW_TAX_CLASS_ID',0); //Show products tax class id or not
	
	



Use Of:
-------
/****************************************************************************
* Logiciel : FPDF                                                           *
* Version :  1.51                                                           *
* Date :     03/08/2002                                                     *
* Auteur :   Olivier PLATHEY                                                *
* Licence :  Freeware                                                       *
*                                                                           *
* Vous pouvez utiliser et modifier ce logiciel comme vous le souhaitez.     *
****************************************************************************/
